package com.tanhua.dubbo.api;

import com.tanhua.model.db.Visitors;

import java.util.List;

public interface VisitorsApi {

    void save(Visitors visitors);

    List<Visitors> findByUserId(long userId, Long time);

    List<Visitors> findFriends(long userId, int page, int pageSize);

    List<Visitors> findFriendsByUserId(Integer page, Integer pagesize, Long userId);

}